import {
	createSSRApp
} from "vue";
import store from './store'
import uView from './uni_modules/vk-uview-ui';
import httpInterceptor from '@/common/http.interceptor.js'
// http接口API集中管理引入部分
import httpApi from '@/common/http.api.js'
import App from "./App.vue";
console.log(import.meta.env)
export function createApp() {
	const app = createSSRApp(App);
		app.use(store)
	// 使用 uView UI
	  app.use(uView)
	  app.use(httpInterceptor)
	  app.use(httpApi)
	return {
		app,
	};
}
